home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / netBoot / h / ndreg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-13  |  843 b   |  25 lines

  1.  
  2. /*    @(#)ndreg.h 1.1 86/09/27 SMI    */
  3.  
  4. /*
  5.  * Copyright (c) 1986 by Sun Microsystems, Inc.
  6.  */
  7.  
  8. /*
  9.  * Definitions for software state of the network disk protocol handler.
  10.  */
  11.  
  12. #define    MAXNDBYTES    512        /* Max size ndstrategy supports */
  13. #define    DATASIZE    NDMAXDATA    /* Size of each read from server */
  14.  
  15. struct nd {                     /* standalone RAM variables */
  16.         int     nd_seq;         /* current sequence number */
  17.         struct ether_header nd_xh;      /* xmit header and packet */
  18.         struct ndpack nd_xp;
  19.         int     nd_block;       /* starting block number of data in "cache" */
  20.         char    nd_data[DATASIZE]; /* "cache" of receive data */
  21.         char    nd_buf[1600];   /* temp buf for packets */
  22.         short   nd_efound;      /* found my ether addr */
  23.         struct ether_addr nd_eaddr;     /* my ether addr */
  24. };
  25.